package com.company.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.company.project.common.job.CorporOV;
import com.company.project.entity.TMiddlenumEntity;
import com.company.project.entity.TWhbcsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wenbin
 * @email *****@mail.com
 * @date 2023-11-08 19:49:28
 */
public interface TWhbcsMapper extends BaseMapper<TWhbcsEntity> {

    IPage<TWhbcsEntity> getPageList(Page page,@Param("tWhbcs") TWhbcsEntity tWhbcs);

    void insertList(@Param("list") List<TWhbcsEntity> whbcsList);

    void insetCorpor(@Param("list") List<CorporOV> ovs);

    void insetMiddlenum(@Param("list") List<TMiddlenumEntity> middlenumEntityList);

    int selectCountCo();

    int selectCountM();

    List<CorporOV> selectListCo();

    List<TMiddlenumEntity> selectListM();

    void deleteListC(@Param("list") List<CorporOV> ovs);

    void deleteListM(@Param("list") List<TMiddlenumEntity> middlenumEntityList);
}
